//-----------------------------------------------------------------------------
//	File: app.c
//	Author: xialing
//		
//-----------------------------------------------------------------------------

#include "app.h"

//-----------------------------------------------------------------------------
//	main function
//-----------------------------------------------------------------------------
__task void task_start(void)
{
	task_init_create();
	task_retenc_create();
	task_key_create();
	task_dbg_create();
	
	os_tsk_delete_self();
}

//-----------------------------------------------------------------------------
//	main function
//-----------------------------------------------------------------------------
int main(void)
{
	// nvic set
	NVIC_PriorityGroupConfig(NVIC_PriorityGroup_0);
	// creat task start
	os_sys_init(task_start);
	// never be here
	return 0;
}
